Fully Qualified Name: | Zend\Code\Reflection\FileReflection |
Implements: | ReflectionInterface |
Name | Description | Defined By |
---|---|---|
__construct() | FileReflection | |
__toString() | Serialize to string | FileReflection |
export() | Required by the Reflector interface. | FileReflection |
getClass() | Retrieve the reflection class of a given class found in this file | FileReflection |
getClasses() | Return the reflection classes of the classes found inside this file | FileReflection |
getContents() | Return the full contents of file | FileReflection |
getDocBlock() | FileReflection | |
getDocComment() | FileReflection | |
getEndLine() | Get the end line / number of lines | FileReflection |
getFileName() | Return the file name of the reflected file | FileReflection |
getFunctions() | Return the reflection functions of the functions found inside this file | FileReflection |
getNamespace() | FileReflection | |
getNamespaces() | FileReflection | |
getStartLine() | Get the start line - Always 1, staying consistent with the Reflection API | FileReflection |
getUses() | FileReflection | |
toString() | FileReflection |
Parameter Name | Type | Description |
---|---|---|
$filename | string | |
$includeIfNotAlreadyIncluded | bool |
Returns:
Serialize to string
Required by the Reflector interface
Returns: string
Required by the Reflector interface.
Returns: null
Retrieve the reflection class of a given class found in this file
Parameter Name | Type | Description |
---|---|---|
$name | null|string |
Returns: \ClassReflection
Return the reflection classes of the classes found inside this file
Returns: \ClassReflection[]
Return the full contents of file
Returns: string
Returns: \DocBlockReflection
Returns: string
Get the end line / number of lines
Returns: int
Return the file name of the reflected file
Returns: string
Return the reflection functions of the functions found inside this file
Returns: \FunctionReflection[]
Returns: string
Returns: string[]
Get the start line - Always 1, staying consistent with the Reflection API
Returns: int
Returns: array
Returns: void